#include <stdio.h>
struct Student
{
    char *name;
    short int age;
    short int score;
};

int main()
{
    struct Student students[5];
    students[0].name = "SpringSongs";
    students[0].age = 37;
    students[0].score = 100;

    students[1].name = "JackChen";
    students[1].age = 20;
    students[1].score = 88;

    students[2].name = "Marry";
    students[2].age = 28;
    students[2].score = 89;

    students[3].name = "FanFan";
    students[3].age = 28;
    students[3].score = 97;

    students[4].name = "XiaoMing";
    students[4].age = 26;
    students[4].score = 68;

    for (int i = 0; i < 5; i++)
    {
        printf("name=%s\nage=%d\nscore=%d\n\n",
               students[i].name,
               students[i].age,
               students[i].score);
    }

    struct Student students1[5] =
    {
        {"小明1", 12, 99},
        {"小明2", 15, 88},
        {"小明3", 11, 55},
        {"小明4", 13, 80},
        {"小明5", 14, 89},
    };


    for (int i = 0; i < 5; i++)
    {
        printf("name=%s\nage=%d\nscore=%d\n\n",
               students1[i].name,
               students1[i].age,
               students1[i].score);
    }

    return 0;
}